package com.ftg.learn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author kangjx
 * @createTime 2022/9/13
 */
@SpringBootApplication
//通过 Spring Cloud 原生注解 @EnableDiscoveryClient 开启服务注册发现功能：
@EnableDiscoveryClient
public class NacosPlusApp {

    public static void main(String[] args) {
        SpringApplication.run(NacosPlusApp.class , args);
    }

}
